package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.CaseInfo;
import cn.wolfcode.crm.domain.CompensationInfo;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ICaseInfoService {
    void saveOrUpdate(CaseInfo entity);

    void delete(Long id);

    CaseInfo get(Long id);

    List<CaseInfo> listAll();

    PageResult query(QueryObject qo);

    CompensationInfo selectCompensationInfoById(Long caseInfoId);

    void checkCase(Long id);

    void needAudit(Long id);

    void crash(Long id);

    void auditCase(Long id);

    void cancelAudit(Long id);

    void payCase(Long id);

}
